package com.csthink.common.infrastructure.context;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author <a href="mailto:security.2009@live.cn">Mars</a>
 * @since 2023-09-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HttpContext {

    private HttpServletRequest request;
    private HttpServletResponse response;
    private String aid;

    public HttpContext(HttpServletRequest request, HttpServletResponse response) {
        this.request = request;
        this.response = response;
    }

}
